package com.pixelengine ;

public class PeTiler {
	static {
		System.loadLibrary("PeTiler") ;
	}

	public native String version() ;
	public native TileComputeResult GetTileDataFromCog(
		String srcFilename,
		String srsName,
		int tileWid,int tileHei,
		int tileZ,int tileY,int tileX,
		double fillValue ) ;
	public native TileComputeResult GetTileDataFromCog2(
		String srcFilename,
		String srsName,
		int tileWid,int tileHei,
		int tileZ,int tileY,int tileX,
		double fillValue,
		int resampleAlg,  //0-Nearest 1-bilinear 2-cubic 3-cubicSpline
		int debuginfo     //0-no print debug info, 1-print debug info.
		) ;
}

